const mongoose = require('mongoose');
mongoose.connect('mongodb+srv://2305902315:XWpW0g8KLm20m7Ef@cluster0.v1royjo.mongodb.net/Promoted').then(()=>{
    console.log('数据库db连接成功');
}).catch((err)=>{
    console.log('数据库db连接失败',err);
});

module.exports = mongoose;
